<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
	<head>
		<meta charset="UTF-8" />
		<title></title>
		<link rel="stylesheet" th:href="@{/static/before/css/style.css}" />
		<style>

			/*评论列表*/
			
			.toux {
				height: 0px;
				display: block;
			}
			
			.user {
				display: block;
				font-family: "微软雅黑";
				font-size: 12px;
				position: relative;

				left: 60px;
				font-weight: bold;
			}
			
			.date {
				display: block;
				font-family: "微软雅黑";
				font-size: 12px;
				position: relative;

				left: 60px;
				color: darkgray;
			}
			
			.com {
				display: block;
				font-family: "微软雅黑";
				font-size: 12px;
				position: relative;

				width: 450px;
				height: 30px;
				left: 55px;
				margin: 0 5px;
			}
			
			#bigbiv,#head,#com {
				position: relative;
				left: 20%;
				top: 40px;
				width: 600px;

			}
			#head{
				border: 1px solid orange;
				width: 300px;height: 50px;
				line-height: 50px;
				text-align: center;
				font-weight: bold;
			}
			#com{
				text-align: center;
				font-weight: bold;
				font-size: 25px;
			}
			.smalldiv {
				margin: 0 5px;
			}
			/*.bigbiv{
				border: 1px solid silver;
				height: 250px;
			}*/
			/*end comlist*/
		</style>
	</head>

	<body>
	<div th:insert="before/header :: header"></div>
	<div th:insert="before/header02 :: header02"></div>
		<hr />

	<div class="xiangqing">
		<div class="neirong w">
			<nav class="fr">
				<li>
					<a th:href="@{'/before/summarize/'+${comments[0].gid}}">概述</a>
				</li>
				<li>|</li>
				<li>
					<a th:href="@{'/before/goodsparam/'+${comments[0].gid}}">参数</a>
				</li>
				<li>|</li>
				<li>
					<a th:href="@{'/before/showcomments/'+${comments[0].gid}}">查看评论</a>
				</li>
				<div class="clear"></div>
			</nav>
			<div class="clear"></div>
		</div>
	</div>

	<!--<div id="com">评论列表</div><br/>
	<div id="head" th:text="'商品名称：'+${gooods.gname}"> </div>
	<br/><br/>-->
		<div id="bigbiv" class="bigbiv">
			<!--<p class="ps"><a href="xiangqing.html">返回详情页</a></p>-->
			<div class="smalldiv" th:each="comment:${comments}">
				<span class="toux">
					<img th:src="@{/static/before/image/logo-orange.png}" />
				</span>
				<span class="user" th:text="${comment.user.othername}"/>
				<span class="date" th:text="${#dates.format(comment.cotime)}"/>
				<br/>
				<span class="com" th:text="${comment.content}"/>
				<br/>
			</div>
		</div>
		<br /><br /><br />
	<div class="clear "></div>
	<div style="position: relative;top: 50px" th:insert="before/footer :: footer"></div>
	</body>

</html>